package org.example.factory.easy;

import org.example.factory.service.Action;

public class Test1 {
    public static void main(String[] args) {
        Action sing = ActionEasyFactory.createAction("sing");
        sing.doAction();

        Action jump = ActionEasyFactory.createAction("jump");
        jump.doAction();

        Action run = ActionEasyFactory.createAction("run");
        run.doAction();
    }
}
